Skip to main content

Add the Reactional Manager

To make integration as smooth as possible, we have prepared a menu item for quick insertion, which spawns a GameObject in the scene called Reactional Music.

Reactional GameObject contents

The manager object contains a few scripts needed for Reactional playback.

  • Reactional Manager - Singleton that handles the project setup and settings, which will then be passed to the Reactional Engine on load.
  • Basic Playback - A barebones script which demonstrates a few API calls, such as loading tracks, assets, and starting playback. You are welcome to implement your own version of this, but in many cases this will be enough.
  • Reactional Engine - A barebones singleton for the actual engine instance.
  • AudioSource - The above script pushes an audio buffer into the OnAudioFilterRead-function. ending up in this audio source